package com.xm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * admin实体类
 * @author 康文程
 * @date 2023-12-15 下午 02:36
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Administrator {
    /**
     * 账号
     */
    private String administratorId;
    /**
     * 密码
     */
    private String password;
    /**
     * 拥有权限
     */
    private String permissions;
    /**
     * 账号状态
     */
    private Integer administratorState;

    public Administrator(String permissions) {
        this.permissions = permissions;
    }

    public Administrator(Integer administratorState) {
        this.administratorState = administratorState;
    }
}
